<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib  prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>学生成绩管理系统</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<link href='http://fonts.googleapis.com/css?family=Belgrano' rel='stylesheet' type='text/css'></link>
<!-- jQuery file -->
<script src="js/jquery.min.js"></script>
<script src="js/jquery.tabify.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
var $ = jQuery.noConflict();
$(function() {
$('#tabsmenu').tabify();
$(".toggle_container").hide(); 
$(".trigger").click(function(){
	$(this).toggleClass("active").next().slideToggle("slow");
	return false;
});
});

  function tedingkecheng(){
   
   var flag = null;
   var obj = document.getElementsByTagName("option");
  
   for(var i=0;i<obj.length;i++){
       if(obj[i].selected==true){
       //alert(obj[i].value);
       flag=obj[i].value;
      
    }
    
 }
   
 
   window.location="course_findCourse.action?courseflag="+flag;
}
</script>
</head>
<body>
<div id="panelwrap">
  	
	<div class="header">
    <div class="title"><a href="#">管理员</a></div>
    
    <div class="header_right">欢迎管理员, <a href="#" class="settings">登陆</a> <a href="#" class="logout">注销</a> </div>
    
    <div class="menu">
    <ul>
    <li><a href="${pageContext.request.contextPath}/student_selectSutudent.action" class="selected">信息管理</a></li>
    <li><a href="#">选课管理</a></li>
    <li><a href="${pageContext.request.contextPath}/grade_findScroeAll.action">成绩管理</a></li>
    <li><a href="${pageContext.request.contextPath}/innvoation_findAllInvoation.action">创新学分管理</a></li>
    <li><a href="${pageContext.request.contextPath}/activity_findAllActivity.action">活动成绩管理</a></li>
   <!--  <li><a href="#">Options</a></li>
    <li><a href="#">Admin settings</a></li>--> 
    <li><a href="#">帮助</a></li>
    </ul>
    </div>
    
    </div>
              
    <div class="center_content">  
 
    <div id="right_wrap">
    <div id="right_content">   
              
    <h2>信息显示</h2> 
                &nbsp   &nbsp   &nbsp   &nbsp
     
                   <select name="coursestatus" onchange="tedingkecheng()">
                             <option>按照系查询课程</option>
                          <option value="1">计算机科学技术</option>
                          <option value="2">软件工程</option>
                          <option value="3" >网络工程</option>
                  </select>
           
                    
<table id="rounded-corner" align="center">

 

           
    <thead>

    
    
    	<tr align="center">
           <td>学科编号</td>
           <td>学科科目</td>
            <th>&nbsp &nbsp &nbsp 修改</th>
            <th>&nbsp &nbsp &nbsp &nbsp &nbsp 删除</th>
        </tr>
    </thead>
        <tfoot>
    	<tr>
        	<!-- <td colspan="12">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut.</td>
       -->  </tr>
    </tfoot>
    <tbody >
    
    <s:iterator  value="pageBean">
            <tr align="center" class="odd">
           
             <td><s:property value="cnumber"/></td>
                     <td><s:property value="cname"/></td>
                      
                       
             <td>  <a href="${pageContext.request.contextPath}/course_updateIdCourse.action?cid=<s:property value="cid"/>"><img src="images/edit.png" alt="" title="" border="0" /></a></td>
            <td><a href="${pageContext.request.contextPath}/course_deleteIdCourse.action?cid=<s:property value="cid"/>"><img src="images/trash.gif" alt="" title="" border="0" /></a></td>
          
           </tr> 
          </s:iterator>
    </tbody>
   
</table>

  
 
        <div class="toogle_wrap">
         <!--    <div class="trigger"><a href="#">Toggle with text</a></div>

            <div class="toggle_container">
			<p>
        Lorem ipsum <a href="#">dolor sit amet</a>, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.Lorem ipsum <a href="#">dolor sit amet</a>, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
			</p>
            </div>-->
        </div> 
      
     </div>          
     </div><!-- end of right content-->
            
                    
    <div class="sidebar" id="sidebar">
    <h2>学生信息管理</h2>
    
        <ul>
            <li><a href="${pageContext.request.contextPath}/index.action?page=1" class="selected">信息查看</a></li>
            <li><a href="${pageContext.request.contextPath}/student_addStudent.action">信息添加</a></li>
            <li><a href="${pageContext.request.contextPath}/student_updateIdStudent.action">信息修改</a></li>
            <li><a href="${pageContext.request.contextPath}/student_findStudent.action">信息删除</a></li>
            <!--  <li><a href="#">Templates</a></li>
	            <li><a href="#">Clients</a></li>-->
	        </ul>
        
    <h2>选课管理</h2>
    
        <ul>
            <li><a href="${pageContext.request.contextPath}/course_findAllCourse.action">课程查看</a></li>
            <li><a href="${pageContext.request.contextPath}/course_addCourse.action">课程添加</a></li>
            <li><a href="#">课程修改</a></li>
            <li><a href="#">课程删除</a></li>
        </ul> 
       <h2>成绩管理</h2>
    
        <ul>
            <li><a href="${pageContext.request.contextPath}/grade_findScroeAll.action">成绩查看</a></li>
            <li><a href="${pageContext.request.contextPath}/grade_addScroeAll.action">成绩添加</a></li>
            <li><a href="#">成绩修改</a></li>
            <li><a href="#">成绩删除</a></li>
        </ul>  
    <h2>创新学分管理</h2>
    
        <ul>
            <li><a href="${pageContext.request.contextPath}/innvoation_findAllInvoation.action">创新学分查看</a></li>
            <li><a href="${pageContext.request.contextPath}/innvoation_addPageInnvoation.action">创新学分添加</a></li>
            <li><a href="#">创新学分修改</a></li>
            <li><a href="#">创新学分删除</a></li>
        </ul>   
         
    <h2>活动管理</h2> 
           <ul>
            <li><a href="${pageContext.request.contextPath}/activity_findAllActivity.action">活动学分查看</a></li>
            <li><a href="${pageContext.request.contextPath}/activity_addPageActivity.action">活动学分添加</a></li>
            <li><a href="#">活动学分修改</a></li>
            <li><a href="#">活动学分删除</a></li>
        </ul>   
    
    </div>             
    
    
    <div class="clear"></div>
    </div> <!--end of center_content-->
    
    <div class="footer">
    
</div>

</div>

    	
</body>
</html>